package com.tencent.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tencent.entity.Order;
import com.tencent.mapper.OrderHistoryMapper;
import com.tencent.service.OrderHistoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author: @date: 2022/8/31 15:21
 * @description:
 */
@Service
public class OrderHistoryServiceImpl extends ServiceImpl<OrderHistoryMapper,Order> implements OrderHistoryService {

    @Autowired
    private OrderHistoryMapper orderHistoryMapper;
    @Override
    public List<Order> findAllById(Integer id) {
        return orderHistoryMapper.selectById(id);
    }



}